package cn.maxhou.entity;

public class User {
    private int userId;
    private String userName;
    private String userPassword;
    private String userCardNo;
    private String userTel;
    private String userAddress;
    private String userPostNumber;
    private int userIsAdmin;
    private String userQuestion;
    private String userAnswer;


  public User() {}

  public User(String userName, String userPassword, String userCardNo, String userTel, String userAddress, String userPostNumber) {
    this.userName = userName;
    this.userPassword = userPassword;
    this.userCardNo = userCardNo;
    this.userTel = userTel;
    this.userAddress = userAddress;
    this.userPostNumber = userPostNumber;
  }

  public User(String userName, String userPassword, String userCardNo, String userTel, String userAddress, String userPostNumber, int userIsAdmin, String userQuestion, String userAnswer) {
    this.userName = userName;
    this.userPassword = userPassword;
    this.userCardNo = userCardNo;
    this.userTel = userTel;
    this.userAddress = userAddress;
    this.userPostNumber = userPostNumber;
    this.userIsAdmin = userIsAdmin;
    this.userQuestion = userQuestion;
    this.userAnswer = userAnswer;
  }

  public User(int userId, String userName, String userPassword, String userCardNo, String userTel, String userAddress, String userPostNumber, int userIsAdmin, String userQuestion, String userAnswer) {
    this.userId = userId;
    this.userName = userName;
    this.userPassword = userPassword;
    this.userCardNo = userCardNo;
    this.userTel = userTel;
    this.userAddress = userAddress;
    this.userPostNumber = userPostNumber;
    this.userIsAdmin = userIsAdmin;
    this.userQuestion = userQuestion;
    this.userAnswer = userAnswer;
  }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public String getUserCardNo() {
        return userCardNo;
    }

    public void setUserCardNo(String userCardNo) {
        this.userCardNo = userCardNo;
    }

    public String getUserTel() {
        return userTel;
    }

    public void setUserTel(String userTel) {
        this.userTel = userTel;
    }

    public String getUserAddress() {
        return userAddress;
    }

    public void setUserAddress(String userAddress) {
        this.userAddress = userAddress;
    }

    public String getUserPostNumber() {
        return userPostNumber;
    }

    public void setUserPostNumber(String userPostNumber) {
        this.userPostNumber = userPostNumber;
    }

    public int getUserIsAdmin() {
        return userIsAdmin;
    }

    public void setUserIsAdmin(int userIsAdmin) {
        this.userIsAdmin = userIsAdmin;
    }

    public String getUserQuestion() {
        return userQuestion;
    }

    public void setUserQuestion(String userQuestion) {
        this.userQuestion = userQuestion;
    }

    public String getUserAnswer() {
        return userAnswer;
    }

    public void setUserAnswer(String userAnswer) {
        this.userAnswer = userAnswer;
    }
}
